home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
3d_vb
/
form2.frm
< prev
next >
Wrap
Text File
|
1995-09-06
|
3KB
|
103 lines
VERSION 2.00
Begin Form Form2
BackColor = &H00C0C0C0&
BorderStyle = 1 'Fixed Single
Caption = "Form2"
ClientHeight = 4020
ClientLeft = 1095
ClientTop = 1485
ClientWidth = 5925
ControlBox = 0 'False
Height = 4425
Left = 1035
LinkMode = 1 'Source
LinkTopic = "Form2"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 4020
ScaleWidth = 5925
Top = 1140
Visible = 0 'False
Width = 6045
Begin CommandButton Command1
Caption = "OK"
Height = 375
Left = 2280
TabIndex = 0
Top = 3480
Width = 1455
End
Begin PictureBox Picture1
BackColor = &H00C0C0C0&
BorderStyle = 0 'None
Height = 855
Left = 2520
ScaleHeight = 855
ScaleWidth = 3135
TabIndex = 1
Top = 240
Width = 3135
End
Begin Label Label1
BackColor = &H00C0C0C0&
Height = 1815
Left = 240
TabIndex = 2
Top = 1440
Width = 5415
End
End
Dim CR$
Sub Command1_Click ()
Form2.Line (0, 0)-(Form2.ScaleWidth, Form2.ScaleHeight), &HC0C0C0, BF
Unload Form2
End Sub
Sub Form_Load ()
CR$ = Chr$(10) + Chr$(13)
Screen.MousePointer = 11
Select Case Action
Case 4
Form2.Caption = "3-D4VB"
Form2.AutoRedraw = True
FormBorder Form2
EtchedFrmText Form2, "This is FormBorder", 200, 200, BLUE
BorderBoxOnFrm Label1, Form2
Form2.AutoRedraw = False
Picture1.AutoRedraw = True
LabelInBox Picture1, "3-D4VB is AOK!", 2, 1, BLUE, RAISED
ShadowPicFrame Picture1, 1
Text$ = "More than 20 functions included and more on the way!"
Text$ = Text$ + " Make your programs look great!"
Text$ = Text$ + " At less than $.50 a routine, 3-D4VB won't cost you an arm and a leg either! It's almost free..."
Text$ = Text$ + " It's sure to save you hours of time and effort." + CR$
Label1.Caption = Text$
Picture1.FontSize = 18
Picture1.AutoRedraw = False
Case 11
Form2.Caption = "3-D4VB"
Form2.AutoRedraw = True
RaisedFormEdge Form2
Picture1.FontSize = 18
EtchedFrmText Form2, "This is Raised Form Edge", 200, 200, BLUE
BorderBoxOnFrm Label1, Form2
Form2.AutoRedraw = False
Picture1.AutoRedraw = True
LabelInBox Picture1, "3-D4VB is AOK!", 2, 1, BLUE, RAISED
ShadowPicFrame Picture1, 1
Text$ = "3-D4VB includes routines to make your own button controls with any icon or "
Text$ = Text$ + " bitmap you want to use. All routines can be modified to suit your taste!" + CR$ + CR$
Text$ = Text$ + "Send your check for $10.00 to:" + CR$
Text$ = Text$ + " LAN Services" + CR$
Text$ = Text$ + " 219-P Berlin Road, Suite 261" + CR$
Text$ = Text$ + " Cherry Hill, New Jersey 08034" + CR$
Text$ = Text$ + " (609) 428-3633"
Label1.Caption = Text$
Picture1.AutoRedraw = False
End Select
Screen.MousePointer = 0
End Sub